/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Helper;

import java.io.Serializable;

/**
 *
 * @author Lu Xiaodi
 */
public class Helper_OutletFoodItem implements Serializable {

    private Long outletId;
    private String outletName;
    private String phoneNumber;
    private Long foodItemId;
    private String foodItemName;
    private String stakeholderName;
    private String description;
    private Double price;
    private String type;
    private String pathName;
    private String address;
    private Integer qty;

    public Helper_OutletFoodItem() {
    }

    public Helper_OutletFoodItem(Long id, String name, String phone, Long foodItemId, String foodName, 
            String stakeholderName, String description,
            Double price, String type, String pathName, String address) {
        this.outletId = id;
        this.outletName = name;
        this.phoneNumber = phone;
        this.foodItemId = foodItemId;
        this.foodItemName = foodName;
        this.stakeholderName = stakeholderName;
        this.description = description;
        this.price = price;
        this.type = type;
        this.pathName = pathName;
        this.address = address;
        qty = 0;
    }

    public void create(String outletName) {
        this.outletName = outletName;
    }

    public String getOutletName() {
        return outletName;
    }

    public void setOutletName(String outletName) {
        this.outletName = outletName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getOutletId() {
        return outletId;
    }

    public void setOutletId(Long outletId) {
        this.outletId = outletId;
    }

    public String getPathName() {
        return pathName;
    }

    public void setPathName(String pathName) {
        this.pathName = pathName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getFoodItemId() {
        return foodItemId;
    }

    public void setFoodItemId(Long foodItemId) {
        this.foodItemId = foodItemId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getQty() {
        return qty;
    }

    public void setQty(Integer qty) {
        this.qty = qty;
    }

    public String getFoodItemName() {
        return foodItemName;
    }

    public void setFoodItemName(String foodItemName) {
        this.foodItemName = foodItemName;
    }

    public String getStakeholderName() {
        return stakeholderName;
    }

    public void setStakeholderName(String stakeholderName) {
        this.stakeholderName = stakeholderName;
    }
    
    @Override
    public String toString() {
        return "Outlet:" + outletName + " Type:" + type + " Price" + price;
    }
}
